package com.ptswitch.material.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.hxzon.project.Dao;
import org.springframework.stereotype.Service;

import com.ptswitch.material.service.HqlService;

@Service
public class HqlServiceImpl implements HqlService {
    @Resource
    protected Dao dao;

    @Override
    public List<?> query(String hql) {
        return dao.list(hql, -1, -1);
    }
}
